Optimal. Leaf size=61 \[ -\frac {2 a^2 A}{5 x^{5/2}}-\frac {2 a (2 A b+a B)}{\sqrt {x}}+\frac {2}{3} b (A b+2 a B) x^{3/2}+\frac {2}{7} b^2 B x^{7/2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {459}
\begin {gather*} -\frac {2 a^2 A}{5 x^{5/2}}+\frac {2}{3} b x^{3/2} (2 a B+A b)-\frac {2 a (a B+2 A b)}{\sqrt {x}}+\frac {2}{7} b^2 B x^{7/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 459
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^2 \left (A+B x^2\right )}{x^{7/2}} \, dx &=\int \left (\frac {a^2 A}{x^{7/2}}+\frac {a (2 A b+a B)}{x^{3/2}}+b (A b+2 a B) \sqrt {x}+b^2 B x^{5/2}\right ) \, dx\\ &=-\frac {2 a^2 A}{5 x^{5/2}}-\frac {2 a (2 A b+a B)}{\sqrt {x}}+\frac {2}{3} b (A b+2 a B) x^{3/2}+\frac {2}{7} b^2 B x^{7/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 59, normalized size = 0.97 \begin {gather*} -\frac {2 \left (21 a^2 A+210 a A b x^2+105 a^2 B x^2-35 A b^2 x^4-70 a b B x^4-15 b^2 B x^6\right )}{105 x^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 51, normalized size = 0.84
method | result | size |
derivativedivides | \(\frac {2 b^{2} B \,x^{\frac {7}{2}}}{7}+\frac {2 A \,b^{2} x^{\frac {3}{2}}}{3}+\frac {4 B a b \,x^{\frac {3}{2}}}{3}-\frac {2 a^{2} A}{5 x^{\frac {5}{2}}}-\frac {2 a \left (2 A b +B a \right )}{\sqrt {x}}\) | \(51\) |
default | \(\frac {2 b^{2} B \,x^{\frac {7}{2}}}{7}+\frac {2 A \,b^{2} x^{\frac {3}{2}}}{3}+\frac {4 B a b \,x^{\frac {3}{2}}}{3}-\frac {2 a^{2} A}{5 x^{\frac {5}{2}}}-\frac {2 a \left (2 A b +B a \right )}{\sqrt {x}}\) | \(51\) |
gosper | \(-\frac {2 \left (-15 b^{2} B \,x^{6}-35 A \,b^{2} x^{4}-70 B a b \,x^{4}+210 a A b \,x^{2}+105 B \,a^{2} x^{2}+21 a^{2} A \right )}{105 x^{\frac {5}{2}}}\) | \(56\) |
trager | \(-\frac {2 \left (-15 b^{2} B \,x^{6}-35 A \,b^{2} x^{4}-70 B a b \,x^{4}+210 a A b \,x^{2}+105 B \,a^{2} x^{2}+21 a^{2} A \right )}{105 x^{\frac {5}{2}}}\) | \(56\) |
risch | \(-\frac {2 \left (-15 b^{2} B \,x^{6}-35 A \,b^{2} x^{4}-70 B a b \,x^{4}+210 a A b \,x^{2}+105 B \,a^{2} x^{2}+21 a^{2} A \right )}{105 x^{\frac {5}{2}}}\) | \(56\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 53, normalized size = 0.87 \begin {gather*} \frac {2}{7} \, B b^{2} x^{\frac {7}{2}} + \frac {2}{3} \, {\left (2 \, B a b + A b^{2}\right )} x^{\frac {3}{2}} - \frac {2 \, {\left (A a^{2} + 5 \, {\left (B a^{2} + 2 \, A a b\right )} x^{2}\right )}}{5 \, x^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.07, size = 53, normalized size = 0.87 \begin {gather*} \frac {2 \, {\left (15 \, B b^{2} x^{6} + 35 \, {\left (2 \, B a b + A b^{2}\right )} x^{4} - 21 \, A a^{2} - 105 \, {\left (B a^{2} + 2 \, A a b\right )} x^{2}\right )}}{105 \, x^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.60, size = 76, normalized size = 1.25 \begin {gather*} - \frac {2 A a^{2}}{5 x^{\frac {5}{2}}} - \frac {4 A a b}{\sqrt {x}} + \frac {2 A b^{2} x^{\frac {3}{2}}}{3} - \frac {2 B a^{2}}{\sqrt {x}} + \frac {4 B a b x^{\frac {3}{2}}}{3} + \frac {2 B b^{2} x^{\frac {7}{2}}}{7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.87, size = 55, normalized size = 0.90 \begin {gather*} \frac {2}{7} \, B b^{2} x^{\frac {7}{2}} + \frac {4}{3} \, B a b x^{\frac {3}{2}} + \frac {2}{3} \, A b^{2} x^{\frac {3}{2}} - \frac {2 \, {\left (5 \, B a^{2} x^{2} + 10 \, A a b x^{2} + A a^{2}\right )}}{5 \, x^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.12, size = 55, normalized size = 0.90 \begin {gather*} -\frac {210\,B\,a^2\,x^2+42\,A\,a^2-140\,B\,a\,b\,x^4+420\,A\,a\,b\,x^2-30\,B\,b^2\,x^6-70\,A\,b^2\,x^4}{105\,x^{5/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________